<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:f="http://java.sun.com/jsf/core"  xmlns:comp="http://facelets.componentes.com">
    <ui:composition>
        <ice:panelGrid  columns="3" style="color: black; text-align: left; margin-top: -7px" rendered="${(empty rendered)? true : rendered}">
            <ice:outputLabel  value="${label}:" for="${id}" style="${(required)? 'font-weight: bold' : 'font-weight: normal'}"/>
            <ice:selectOneMenu   title="${title}" converter="entidadeConverter" disabled="${disabled}" style="${style}"  id="${id}"  value="${value}" partialSubmit="${(empty partialSubmit)? false : partialSubmit}" readonly="${(empty readonly)? (botoes.controllerPagina.formularioDesabilitado) : readonly}"
                           requiredMessage="${label} é obrigatório." required="${(empty required)? false : required}" >
                 <f:selectItems   value="#{lista}"/>
            </ice:selectOneMenu>
            
             <ice:commandButton id="${idBotao}" rendered="${(empty mostrarBotao) ? true : mostrarBotao}" actionListener="#{navegaEntrePaginas.navegarPagina}"  disabled="${disabled}" 
                               image="/resources/btAdd.png" title="Cadastrar Registro"/>

        </ice:panelGrid>
    </ui:composition>
</html>
